package com.example.serverdemo.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author: liyanfeng
 * @date: 2022/3/23 22:56
 * @Description:
 */
@Component
public class ServerConstant {

    public static String appid;
    public static String context;


    @Value("${denglu1.appid}")
    public void setAppid(String value) {
        appid = value;
    }

    @Value("${denglu1.context}")
    public void setContext(String value) {
        context = value;
    }
}
